package Phone;

public class DemoPhoneParam {
    public static void main(String[] args) {
        Phone one = new Phone();
        one.brand ="苹果";
//        one.price = String.valueOf(8888.0);
        one.price = 8888.0;
        one.color ="白色";

        method(one);
    }
    public static void method(Phone param){
        System.out.println(param.brand);
        System.out.println(param.price);
        System.out.println(param.color);


    }

}
